PATHMac OS 8 and 9 Developer Documentation > Interapplication Communication > AppleScript for Scripters >

AppleScript Language Guide

   

Operating System Errors

An operating system error is an error that occurs when AppleScript or an application requests services from the Mac OS. They are rare, and more important, there's usually nothing you can do about them in a script. A few, such as "File <name> wasn't found" and "Application isn't running" , make sense for scripts to handle.

Error number

Error message

0 No error.
-34 Disk <name> is full.
-35 Disk <name> wasn't found.
-37 Bad name for file.
-38 File <name> wasn't open.
-39 End of file error.
-42 Too many files open.
-43 File <name> wasn't found.
-44 Disk <name> is write protected.
-45 File <name> is locked.
-46 Disk <name> is locked.
-47 File <name> is busy.
-48 Duplicate file name.
-49 File <name> is already open.
-50 Parameter error.
-51 File reference number error.
-61 File not open with write permission.
-108 Out of memory.
-120 Folder <name> wasn't found.
-124 Disk <name> is disconnected.
-128 User canceled.
-192 A resource wasn't found.
-600 Application isn't running.
-601 Not enough room to launch application with special requirements.
-602 Application is not 32-bit clean.
-605 More memory is needed than is specified in the size resource.
-606 Application is background-only.
-607 Buffer is too small.
-608 No outstanding high-level event.
-609 Connection is invalid.
-904 Not enough system memory to connect to remote application.
-905 Remote access is not allowed.
-906 <name> isn't running or program linking isn't enabled.
-915 Can't find remote machine.
-30720 Invalid date and time <date string>.


© 1999 Apple Computer, Inc. – (Last Updated 21 May 99)